﻿namespace DTLAutomateGUI.Data {


	partial class DataSetLayout
	{
		partial class TrainDataTable
		{
			public TrainRow FindByLocoAddress(int address)
			{
				foreach (TrainRow row in this.Rows)
				{
					if (row.locoAddress == address) return row;
				}
				return null;
			}
		}
	
		partial class BlockDataTable
		{
		}
	
		partial class BorderDataTable
		{
			public BorderRow FindByNetworkAddress(int address)
			{
				foreach (BorderRow row in this.Rows)
				{
					if (row.networkAddress == address) return row;
				}
				return null;
			}
		}
	}
}
